package weixinapi.cobook_contacts.entity;

/**
 * 实体类之部门类
 * @author Administrator
 *
 */
public class Department
{


	private int id ;
	private String name;
	private int parentid;
	@Override
	public String toString()
	{
		return "Department [id=" + id + ", name=" + name + ", parentid="
				+ parentid + ", order=" + order + "]";
	}
	public Department()
	{
		super();
	}
	public Department(String name, int parentid, int order)
	{
		super();
		this.name = name;
		this.parentid = parentid;
		this.order = order;
	}
	public Department(int i, String string, int j)
	{
		// TODO Auto-generated constructor stub
	}
	public int getId()
	{
		return id;
	}
	public void setId(int id)
	{
		this.id = id;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public int getParentid()
	{
		return parentid;
	}
	public void setParentid(int parentid)
	{
		this.parentid = parentid;
	}
	public int getOrder()
	{
		return order;
	}
	public void setOrder(int order)
	{
		this.order = order;
	}
	private int order;

}

